/* color palette from <https://github.com/vuejs/theme> */
:root {
    --vt-c-white: #ffffff;
    --vt-c-white-soft: #f8f8f8;
    --vt-c-white-mute: #f2f2f2;

    --vt-c-black: #181818;
    --vt-c-black-soft: #222222;
    --vt-c-black-mute: #282828;

    --vt-c-indigo: #2c3e50;

    --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
    --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
    --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
    --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

    --vt-c-text-light-1: var(--vt-c-indigo);
    --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
    --vt-c-text-dark-1: var(--vt-c-white);
    --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}

/* semantic color variables for this project */
:root {
    --color-background: var(--vt-c-white);
    --color-background-soft: var(--vt-c-white-soft);
    --color-background-mute: var(--vt-c-white-mute);

    --color-border: var(--vt-c-divider-light-2);
    --color-border-hover: var(--vt-c-divider-light-1);

    --color-heading: var(--vt-c-text-light-1);
    --color-text: var(--vt-c-text-light-1);

    --section-gap: 160px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: var(--vt-c-black);
        --color-background-soft: var(--vt-c-black-soft);
        --color-background-mute: var(--vt-c-black-mute);

        --color-border: var(--vt-c-divider-dark-2);
        --color-border-hover: var(--vt-c-divider-dark-1);

        --color-heading: var(--vt-c-text-dark-1);
        --color-text: var(--vt-c-text-dark-2);
    }
}


/* 屏幕高度决定首页，阅读，音乐页的右侧高度*/
@media only screen and (max-height: 600px) {
    .right-screen {
        height: 520px;
    }

    .text-size {
        font-size: 11px;
        text-indent:1.5rem;
    }

}


@media only screen and (min-height: 650px) {
    .right-screen {
        height: 730px;
    }

    .text-size {
        font-size: 16px;
        text-indent: 2rem;
    }
}

/*屏幕宽度决定阅读也的左侧 展示栏数*/
@media only screen and (max-width: 1100px) {
    .grid-columns {
        width: 100%;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .read-top-width {
        width: 680px
    }
}




/* 字体大小调整*/
@media only screen and (max-width: 1100px) {
    .grid-columns {
        width: 100%;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .read-top-width {
        width: 680px
    }
}


@media only screen and (min-width: 1200px) {
    .grid-columns {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }

    .read-top-width {
        width: 986px
    }
}


*,
*::before,
*::after {
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
}

.list-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.list-x::-webkit-scrollbar { /*滚动条整体样式*/
    width: 0; /*高宽分别对应横竖滚动条的尺寸*/
    height: 0;
    scrollbar-arrow-color: gray;

}

.list-x::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 1px;
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
    /*background: rgba(0,0,0,0.2);*/
    scrollbar-arrow-color: gray;
}

.list-x::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
}


.list-y {
    overflow-x: hidden;
    overflow-y: auto;
}

.list-y::-webkit-scrollbar { /*滚动条整体样式*/
    width: 0; /*高宽分别对应横竖滚动条的尺寸*/
    height: 0;
    scrollbar-arrow-color: gray;

}

.list-y::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 1px;
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
    /*background: rgba(0,0,0,0.2);*/
    scrollbar-arrow-color: gray;
}

.list-y::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
}

body {
    min-height: 100vh;
    color: var(--color-text);
    background: var(--color-background);
    transition: color 0.5s, background-color 0.5s;
    line-height: 1.6;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
